package com.xidian.zhiancloud.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xidian.zhiancloud.model.SysRoleTable;
import com.xidian.zhiancloud.model.SysRoleTableExample;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface SysRoleTableMapper extends BaseMapper<SysRoleTable>{

    long countByExample(SysRoleTableExample example);

    int deleteByExample(SysRoleTableExample example);

    int deleteByPrimaryKey(Long id);

    int insert(SysRoleTable record);

    int insertSelective(SysRoleTable record);

    List<SysRoleTable> selectByExampleWithRowbounds(SysRoleTableExample example, RowBounds rowBounds);

    List<SysRoleTable> selectByExample(SysRoleTableExample example);

    SysRoleTable selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") SysRoleTable record, @Param("example") SysRoleTableExample example);

    int updateByExample(@Param("record") SysRoleTable record, @Param("example") SysRoleTableExample example);

    int updateByPrimaryKeySelective(SysRoleTable record);

    int updateByPrimaryKey(SysRoleTable record);
}